package com.etc.tools;

import java.util.List;

/**
 * @前后交互数据类
 * @author Administrator
 *
 * @param <T>
 */
public class AjaxOperateResponse<T> {

	private int code = 0;// 前后交互code编码不是layui的code; 可以自定义结果，不是查询
	private String msg = "";

	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public AjaxOperateResponse(int code, String msg) {
		super();
		this.code = code;
		this.msg = msg;
	}

	public AjaxOperateResponse() {
		// TODO Auto-generated constructor stub
	}

	@Override
	public String toString() {
		return "AjaxOperateResponse [code=" + code + ", msg=" + msg + "]";
	}

}
